import sqlite3

connection= sqlite3.connect('teste.db')
c= connection.cursor()
#sql

sql = 'SELECT * FROM dados WHERE ano = ? or ano > ?'

def read_data():
	for row in c.execute(sql,('1977','1977',)):
		print row
		
read_data()
